from django.conf.urls import url
#from django.urls import re_path
from . import views

urlpatterns = [
    # 地区列表
    url(r'api/v1.0/areas/', views.Areas.as_view()),
    url(r'^areas/$', views.ProvinceAreasView.as_view()),
    url(r'^areas/(?P<pk>[1-9]\d*)/$', views.SubAreasView.as_view()),
]
